package com.lmb.todo.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Lenovo
 */
public class DateUtil {

    public static String getCurrentDateStr() {
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
    }

    public static Date afterHowLong(long ms) {
        return new Date(System.currentTimeMillis() + ms);
    }

}
